package com.hxzy.shop.commodity.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommodityPage {

    @ApiModelProperty(required = true, name = "pageSize")
    private Integer pageSize;

    @ApiModelProperty(required = true, name = "pageNum")
    private Integer pageNum;

    @ApiModelProperty(name = "state", value = "状态 默认开启")
    private Boolean state;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    private String createTime;

    @ApiModelProperty(name = "endTime", value = "结束时间")
    private String endTime;

    @ApiModelProperty(name = "sort", value = "排序1 升序 0 降序")
    private Integer sort;

    @ApiModelProperty(name = "timeSort", value = "时间排序 1 升序 0 降序")
    private Integer timeSort;

    @ApiModelProperty("分类名称")
    private String name;
}